home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
701-725
/
705
/
newiff
/
compiler.readme
< prev
next >
Wrap
Text File
|
1995-03-18
|
2KB
|
36 lines
The modules/ directory contains the module sources and SAS C 5.10a
object modules. If you are using Manx, copy Makefile.Manx to
Makefile, and copy iffobj/Manx/#?.o to the modules/ directory.
The includes files subdirectory (iffp/) may be placed in your
current directory or your normal include directory.
COMPILATION NOTES
These modules and examples have been compiled using SAS C 5.10b
and Manx C 5.2a, 2.04 (37.4) include files and 2.04 amiga.lib.
You must have at least 37.1 alib_protos.h (older versions of
this include file contained the amiga.lib stdio protos also
which conflict with both SAS and Manx stdio). For Manx, if
you are using < 37.4 Amiga include files, you will probably
have to to comment out the inclusion of mathffp.h in
alib_protos.h. This is already fixed in the 37.4 includes.
When compiling with Manx, a warning seems to be generated for
each string constant assigned to a UBYTE * field, and also
by some references to ilbm->colortable.
WARNING - do not use the "-pp" flag of Manx to get rid of the
char<>UBYTE warnings. The -pp flag causes all chars to default
to unsigned, and this will break all of the signed byte (BYTE)
manipulations in ilbm packing and unpacking.
HOOKENTRY NOTES
A Hook.asm (Hook.o) module is provided which contains a
generic HookEntry function. Note that this generic HookEntry
does not do any geta4() type functions for loading of the base
for base-relative data. If your compiler provides its own
HookEntry, you may need to link with your compiler's provided
HookEntry rather than the IFF one, especially if you plan to
change the hook function (stdio hook in parse.c).